import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { RouteRecordRaw } from 'vue-router';

// 获取路由
export function getOrderList(pageSize,pageNum) {
  return request({
    url: '/bykt/order/list',
    method: 'get',
    params: {
      pageNum,
      pageSize
    }
  });
}

// params: query

// export const listCategory = (query?: CategoryQuery): AxiosPromise<CategoryVO[]> => {
//   return request({
//     url: '/workflow/category/list',
//     method: 'get',
//     params: query
//   });
// };
